package fun.sweeper.unity.entity;

import fun.sweeper.base.entity.BaseEntity;

/**
 * 用户详细信息表 hh_user_account
 * @author chongjin
 */
public class HhUserAccount extends BaseEntity {

	private static final Long serialVersionUID = 8489524540537948526L;

	/**
	 * 账户明细id
	 */
	private Long uaId;

	/**
	 * 用户id
	 */
	private Long userId;

	/**
	 * 组织id
	 */
	private Long orgId;

	/**
	 * 之前余额
	 */
	private String before;

	/**
	 * 操作金额
	 */
	private String amount;

	/**
	 * 之后余额
	 */
	private String after;

	/**
	 * 事件 0:销售单 1:销售作废 2:暂付未打印 3:暂付打印 4:退货单 5:退货作废 6:
	 */
	private Integer event;

	/**
	 * 操作类型 0:增加欠款 1:减少欠款
	 */
	private Integer type;

	/**
	 * 相关单号
	 */
	private String relationNo;

	public Long getUaId() {
		return uaId;
	}

	public void setUaId(Long uaId) {
		this.uaId = uaId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getOrgId() {
		return orgId;
	}

	public void setOrgId(Long orgId) {
		this.orgId = orgId;
	}

	public String getBefore() {
		return before;
	}

	public void setBefore(String before) {
		this.before = before;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getAfter() {
		return after;
	}

	public void setAfter(String after) {
		this.after = after;
	}

	public Integer getEvent() {
		return event;
	}

	public void setEvent(Integer event) {
		this.event = event;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getRelationNo() {
		return relationNo;
	}

	public void setRelationNo(String relationNo) {
		this.relationNo = relationNo;
	}

}
